package com.aoxin.mapper.course;

import com.aoxin.model.dto.SchoolCourseDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SlfSchoolCourseDtoMapper {

    /**
     * 查询学校下所有课程课程包
     * @param schoolId
     * @return
     */
    List<SchoolCourseDto> getSchoolCourseDtoList(@Param("schoolId")Integer schoolId,@Param("type")Integer integer);

    /**
     * 查询学校课程
     * @param schoolId
     * @param courseId
     * @return
     */
    SchoolCourseDto getSchoolCourse(@Param("schoolId") Integer schoolId,@Param("courseId") Integer courseId);

    /**
     * 查询学校课程包
     * @param schoolId
     * @param courseId
     * @return
     */
    SchoolCourseDto getSchoolCoursePage(@Param("schoolId") Integer schoolId,@Param("courseId") Integer courseId);

}
